package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.AfterSaleTarget;
import com.example.demo.entity.AfterSaleTarget2;
import com.example.demo.repository.AfterSaleTargetRepository;

@Service
public class AfterSaleTargetService extends BaseService<AfterSaleTarget, Integer>{
	@Autowired
	private AfterSaleTargetRepository tDao;
	
	public AfterSaleTarget findByMonthAndYears(Integer month,Integer years) {
		return tDao.findByMonthAndYears(month, years);
	}
	

}
